<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>商品信息</title>
		<meta name="viewport" content="width=device-width,height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="renderer" content="webkit" />
		<meta name="aplus-xplug" content="NONE">
		<link rel="stylesheet" type="text/css" href="/static/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="/static/iconfont/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="/static/layui/css/modules/admin/default/admin.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/new_layui.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/default.css" />
		<script type="text/javascript" charset="utf-8" src="/static/layui/layui.js"></script>
		<script type="text/javascript" charset="utf-8" src="/static/js/index.js"></script>
		<style>
			#shopping_list{color: #3c3c3c;}
			#shopping_list .layui-form-radio{
				padding-left: 20px;
				display: block;
			}
			#shopping_list .layui-form-radioed{
				border: 1px solid #119fff;
				background-color: #D9EDF7;
				margin: 5px 0 7px;
				-webkit-box-shadow: 5px 5px 0 #f3f3f3;
				box-shadow: 5px 5px 0 #f3f3f3;
				
				}
			#shopping_list .layui-form-radioed div{font-size: 16px;font-weight: bold; line-height: 36px;}
			#shopping_list .phone{font-weight: 700; font-size: 16px; color: grey;}
			#shopping_list .edit_shopping{padding-left: 10px; font-weight: normal; color: #ff6600; display: inline;}
			.express_no{ color: #0077CF;}
			.express_time{font-size: 12px; color: #808080;}
			.layui-field-box .layui-form-item{
				margin-bottom: 0px;
			}
			.invoice-link{
				background: #2F4056; padding: 4px 10px; border-radius: 3px;font-style: italic; vertical-align: middle;
			}
			.layui-form-item{
				border-bottom: 1px dotted #efefef;
			}
			.layui-input-inline{
				line-height: 38px;
				width:90% !important;
			}
	.layui-input-block{
				line-height: 30px;
				color:#000000;
				
			}
			.img-box{
				width: 114px;
				height: 114px;
				overflow: hidden;
				float: left;
				border: 1px dashed #e2e2e2;
				margin-right: 10px;
			}
			.img-box img{
				width: 92px;
				height: 92px;
				vertical-align: middle;
				margin: 12px;
			}
			.layui-col-md1{
				line-height: 36px;
				border: 1px solid #E6E6E6;
				padding-left: 5px;
				font-size: 18px;
			}
			.flex{
				display: flex;
				justify-content: flex-start;
			}
		</style>
	</head>

	<body class="default">
		<div style="margin: 30px 20px;">

			<form class="layui-form layui-col-md11" lay-filter="tpl_audit_info">
				<div class="layui-form-item flex">
					<label class="layui-form-label">产品分类</label>
					<div class="layui-input-inline">
						{$data.category_name1?$data.category_name1:''}
						{$data.category_name2?$data.category_name2:''}
						{$data.category_name3?$data.category_name3:''}
					</div>

				</div>
				<div class="layui-form-item flex">
					<label class="layui-form-label">品牌</label>
					<div class="layui-input-inline">
						{$data.brand_name?$data.brand_name:''}
					</div>
				</div>
				<div class="layui-form-item flex">
					<label class="layui-form-label">商品名称</label>
					<div class="layui-input-inline">
						{$data.goods_name}
					</div>
				</div>
				
				<div class="layui-form-item flex">
					<label class="layui-form-label">商品型号</label>
					<div class="layui-input-inline">
						{$data.goods_model}
					</div>
				</div>
				<div class="layui-form-item flex">
					<label class="layui-form-label">商品编号</label>
					<div class="layui-input-inline">
						{$data.goods_sku}
					</div>
				</div>
				<div class="layui-form-item flex">
					<label class="layui-form-label">推送类型</label>
					<div class="layui-input-inline">
					    {if condition="$data['is_zhongdian'] EQ 0"}
	自选产品
	{elseif condition="$data['is_zhongdian'] EQ 1"}
    重点产品
		{/if}
					
					</div>
				</div>
				<div class="layui-form-item flex">
					<label class="layui-form-label">推送方式</label>
					<div class="layui-input-inline">
						{if condition="$data['jun_update'] EQ 1"}
	商品新增
	{elseif condition="$data['jun_update'] EQ 2"}
    商品信息更新
	{elseif condition="$data['jun_update'] EQ 3"}
	图片更新
	{elseif condition="$data['jun_update'] EQ 4"}
	商品上架
	{elseif condition="$data['jun_update'] EQ 5"}
	商品下架
	{elseif condition="$data['jun_update'] EQ 6"}
	价格更新
		{/if}
					</div>
				</div>
				<div class="layui-form-item flex">
					<label class="layui-form-label">商品单位</label>
					<div class="layui-input-inline">
						{$data.goods_unit}
					</div>
				</div>
				<div class="layui-form-item flex">
		<label class="layui-form-label addRedStar">电商链接</label>
		<div class="layui-input-inline">
		{$data.ziying_url}	
		</div>
	</div>
	
			<!--
			<div class="layui-form-item">
					<label class="layui-form-label">子标题</label>
					<div class="layui-input-block layui-col-md8 margin-left0">
						{$data.goods_son_name}
					</div>
				</div>
			<div class="layui-form-item">
					<label class="layui-form-label">厂商</label>
					<div class="layui-input-inline">
						{$data.product_firm}
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">商品产地</label>
					<div class="layui-input-inline">
						{$data.product_area}
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">条形码</label>
					<div class="layui-input-inline">
						{$data.upc}
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">关键词</label>
					<div class="layui-input-block layui-col-md8 margin-left0 ">
						{$data.goods_keywords}
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">描述</label>
					<div class="layui-input-block layui-col-md8 margin-left0">
						{$data.goods_intro}
					</div>
				</div>
				<div class="layui-form-item">
						<label class="layui-form-label">包装清单</label>
						<div class="layui-input-block layui-col-md8 margin-left0">
							{$data.packing_list}
						</div>

					</div>

					<div class="layui-form-item">
						<label class="layui-form-label">销售属性</label>
						<div class="layui-input-block">
							<blockquote class="layui-elem-quote layui-quote-nm layui-form-pane" id="sale_attr">
									{volist name="data.sale_attr" id="list"}
									<div class="layui-form-item">
										<div class="layui-input-block">
											{$list.sale_attr_name}：{$list.sale_attr_value}
										</div>
									</div>
									{/volist}
							</blockquote>
						</div>
					</div>
				-->
				<div class="layui-form-item">
					<label class="layui-form-label">商品图片<br /><span style="font-size: 12px; color: #999999;">可拖动排序</span></label>
					<div class="layui-input-block">
						<blockquote class="layui-elem-quote layui-quote-nm">
							{foreach name="data.goods_pictures" id="list"}
								<div class="img-box">
									<img src="{$list.save_path}" >
								</div>
							{/foreach}
							<div style="clear: both;">

							</div>
						</blockquote>
					</div>
					
					<div class="layui-form-item">
						<label class="layui-form-label">销售价格</label>
						<div class="layui-input-block">

							<blockquote class="layui-elem-quote layui-quote-nm layui-form-pane" id="sale_spu">
								{volist name="data.sale_price_info.data" id="list"}
								<div class="layui-form-item">
									<label class="layui-form-label">市场价</label>
									<div class="layui-input-block layui-col-md1 margin-left0">
										{$list.market_price}
									</div>
									<label class="layui-form-label">销售价</label>
									<div class="layui-input-block layui-col-md1 margin-left0">
										{$list.sale_price}
									</div>
									<label class="layui-form-label">接口价</label>
									<div class="layui-input-block layui-col-md1 margin-left0">
										{$list.api_price}
									</div>
				
									<label class="layui-form-label">显示库存</label>
									<div class="layui-input-block layui-col-md1 margin-left0">
										{$list.view_stock|default="9999"}
									</div>
									<label class="layui-form-label">采购价</label>
									<div class="layui-input-block layui-col-md1 margin-left0">
										{$list.caigoujia}
									</div>
								</div>
								{/volist}
							</blockquote>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">商品属性</label>
						<div class="layui-input-block">
							<blockquote class="layui-elem-quote layui-quote-nm" id="goods_attr">
								{volist name="data.goods_attr" id="list"}
								<div class="layui-form-item" {if condition="$list.attr_value EQ ''"}style="display: none;"{/if}>
									<div class="layui-input-block">
										【{$list.group_name}】{$list.attr_name}：{$list.attr_value}
									</div>
								</div>
								{/volist}
							</blockquote>
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">详细信息</label>
						<div class="layui-input-block">
						    <blockquote class="layui-elem-quote layui-quote-nm" id="goods_content">
							{$data.goods_content}
							</blockquote>
						</div>
					</div>
				<!--	<div class="layui-form-item">
						<label class="layui-form-label">商品重量</label>
						<div class="layui-input-inline layui-input-number">
							{$data.weight}
						</div>
						<div class="layui-form-mid layui-word-aux">单位：克</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">是否需要安装</label>
						<div class="layui-input-inline">
							{$data.is_install?'是':'否'}
						</div>
					</div>
					<div class="layui-form-item">
						<label class="layui-form-label">是否环保</label>
						<div class="layui-input-inline">
							{$data.is_environmental?'是':'否'}
						</div>
					</div>
-->
					
					
			</form>
		</div>

		


	</body>
</html>
